home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / usr / sybase / include4_6 / syberror.h < prev    next >
C/C++ Source or Header  |  1993-04-22  |  2KB  |  58 lines

  1. /*
  2.  *    syberror.h    77.1    11/11/91
  3.  *
  4.  *      $Logfile: $
  5.  *      $Revision: $
  6.  *      $Date: $
  7.  *      $Author$
  8.  *
  9.  *    Sybase DB-LIBRARY Version 4.0
  10.  *    Confidential Property of Sybase, Inc.
  11.  *    (c) Copyright Sybase, Inc. 1988, 1990
  12.  *    All rights reserved
  13.  *
  14.  *
  15.  * Use, duplication, or disclosure by the Government
  16.  * is subject to restrictions as set forth in subparagraph (c) (1) (ii)
  17.  * of the Rights in Technical Data and Computer Software clause
  18.  * at DFARS 52.227-7013. Sybase, Inc. 6475 Christie Avenue, Emeryville,
  19.  * CA 94608.
  20.  *
  21.  */
  22.  
  23. #ifndef        __syberror__
  24. #define        __syberror__
  25.  
  26. /* Major Component of error code (This is not currently used) */
  27. #define EXCEPTION    1    /* an error within the exception mechanism */
  28. #define EXSIGNAL    2
  29. #define    EXSCREENIO    3
  30. #define    EXDBLIB        4
  31. #define EXFORMS        5
  32. #define EXCLIPBOARD    6
  33. #define EXLOOKUP    7
  34.  
  35. /* The severity levels are defined here */
  36. #define    EXINFO        1    /* informational, non-error */
  37. #define    EXUSER        2    /* user error */
  38. #define    EXNONFATAL    3    /* non-fatal error */
  39. #define EXCONVERSION    4    /* Error in DB-LIBRARY data conversion. */
  40. #define EXSERVER    5    /* The Server has returned an error flag. */
  41. #define EXTIME        6    /* We have exceeded our timeout period while
  42.                  * waiting for a response from the Server -
  43.                  * the DBPROCESS is still alive.
  44.                  */
  45. #define EXPROGRAM    7    /* coding error in user program */
  46. #define    EXRESOURCE    8    /* running out of resources - the DBPROCESS
  47.                  * may be dead.
  48.                  */
  49. #define    EXCOMM        9    /* failure in communication with Server -
  50.                  * the DBPROCESS is dead.
  51.                  */
  52. #define    EXFATAL        10    /* fatal error - the DBPROCESS is dead. */
  53. #define    EXCONSISTENCY    11    /* internal software error  - notify Sybase
  54.                  * Technical Supprt.
  55.                  */
  56.  
  57. #endif    /* __syberror__ */
  58.